BootApplication.controller("PortfolioController",
			[ "$scope", "$rootScope", "$translate", "configuration",
	 function ($scope, 	 $rootScope,   $translate,   configuration) {
		
	console.log("PortfolioController");			
	var letterF = $rootScope.language=='it' || $rootScope.language==undefined? "Pe" : "F";
	var letterT = $rootScope.language=='it' || $rootScope.language==undefined? "V" : "T";
	var letterP = $rootScope.language=='it' || $rootScope.language==undefined? "Pi" : "P";
	
	var titleF = $rootScope.language=='it' || $rootScope.language==undefined? "Pesce" : "Fish";
	var titleT = $rootScope.language=='it' || $rootScope.language==undefined? "Vasca" : "Tank";
	var titleP = $rootScope.language=='it' || $rootScope.language==undefined? "Pianta" : "Plant";
	
	console.log("letterT: "+letterT+" - letterF:"+letterF+" - letterP:"+letterP);
	
	$scope.indexFigures = [
//			   			{title: titleT,	letter: letterT,	id:"ref-tank",	link:"tankCtrl/tankDetail", 	img:"img/home/tank/box1-1.png", text:"", classname:"tank"},
			   			{title: titleF,	letter: letterF,	id:"ref-fish",  link:"fishCtrl/fishDetail",		img:"img/home/fish/box2-2.jpg",	text:"", classname:"fish"},
			   			{title: titleP,	letter: letterP,	id:"ref-plant",	link:"plantCtrl/plantDetail",	img:"img/home/plant/box3-2.jpg",text:"", classname:"plant"}
			   		];
	
}]);